package com.jsu.springboot_crop.service;

import com.jsu.springboot_crop.entity.Shoppingcart;
import com.jsu.springboot_crop.model.ShoppingModel;


import java.util.List;

/**
 * @author js
 * @name ShoppingcartService
 * @Date 2023/8/26 13:38
 */
public interface ShoppingcartService {

    List<ShoppingModel> selectByUserOrderId(Integer orderId);
//根据用户名搜索购物车信息
    List<ShoppingModel> selectByUsername();

    void add(Shoppingcart shoppingcart);

    void update(Shoppingcart shoppingcart);

    void delete(Integer id);
}
